/* eslint-disable */

import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

// 1.导入组件
import login from '@/views/login.vue'

// 2.路由规则
const routes = [
  {
    name: 'login',
    path: '/',
    component: login
  }
]

const router = new VueRouter({
  routes
})

export default router
